/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 核心内容管理系统                                
 *                Web: https://www.corecms.net                      
 *             Author: 大灰灰                                          
 *              Email: jianweie@163.com                                
 *         CreateTime: 2022/7/19 23:55:06
 *        Description: 暂无
 ***********************************************************************/

using System;
using System.ComponentModel.DataAnnotations;
using SqlSugar;

namespace CoreCms.Net.Model.Entities;

/// <summary>
///     版本更新表
/// </summary>
public class CoreCmsAppUpdateLog
{
    /// <summary>
    ///     构造函数
    /// </summary>
    public CoreCmsAppUpdateLog()
    {
    }

    /// <summary>
    ///     序列
    /// </summary>
    [Display(Name = "序列")]
    [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
    [Required(ErrorMessage = "请输入{0}")]


    public int id { get; set; }


    /// <summary>
    ///     版本号
    /// </summary>
    [Display(Name = "版本号")]
    [Required(ErrorMessage = "请输入{0}")]


    public int version { get; set; }


    /// <summary>
    ///     更新内容
    /// </summary>
    [Display(Name = "更新内容")]
    [Required(ErrorMessage = "请输入{0}")]
    [StringLength(255, ErrorMessage = "{0}不能超过{1}字")]


    public string note { get; set; }


    /// <summary>
    ///     安卓地址
    /// </summary>
    [Display(Name = "安卓地址")]
    [StringLength(255, ErrorMessage = "{0}不能超过{1}字")]


    public string android { get; set; }


    /// <summary>
    ///     IOS地址
    /// </summary>
    [Display(Name = "IOS地址")]
    [StringLength(255, ErrorMessage = "{0}不能超过{1}字")]


    public string ios { get; set; }


    /// <summary>
    ///     创建时间
    /// </summary>
    [Display(Name = "创建时间")]
    [Required(ErrorMessage = "请输入{0}")]


    public DateTime addTime { get; set; }


    /// <summary>
    ///     开启更新
    /// </summary>
    [Display(Name = "开启更新")]
    [Required(ErrorMessage = "请输入{0}")]


    public bool isUpdate { get; set; }
}